set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 50 [current_design]
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property CFGBVS VCCO [current_design]
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]

set_property IOSTANDARD LVCMOS33 [get_ports clk_in1_0]
set_property PACKAGE_PIN G22 [get_ports clk_in1_0]
set_property IOSTANDARD LVCMOS33 [get_ports resetn_0]
set_property PACKAGE_PIN D26 [get_ports resetn_0]
set_property IOSTANDARD LVCMOS33 [get_ports uart_rtl_0_rxd]
set_property IOSTANDARD LVCMOS33 [get_ports uart_rtl_0_txd]
set_property PACKAGE_PIN C22 [get_ports uart_rtl_0_txd]
set_property PACKAGE_PIN B20 [get_ports uart_rtl_0_rxd]
set_property IOSTANDARD LVCMOS33 [get_ports {OLED_DC_tri_o[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {OLED_RST_tri_o[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {OLED_SCL_tri_o[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {OLED_SDA_tri_o[0]}]
set_property PACKAGE_PIN J21 [get_ports {OLED_RST_tri_o[0]}]
set_property PACKAGE_PIN H22 [get_ports {OLED_DC_tri_o[0]}]
set_property PACKAGE_PIN J24 [get_ports {OLED_SCL_tri_o[0]}]
set_property PACKAGE_PIN J25 [get_ports {OLED_SDA_tri_o[0]}]
